package com.ruoyi.check.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 请假管理对象 vacate
 * 
 * @author tza
 * @date 2023-03-06
 */
public class Vacate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录号 */
    @Excel(name = "记录号")
    private Integer abId;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private Integer empId;

    /** 请假类型 */
    @Excel(name = "请假类型")
    private String abStyel;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String empName;

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    /** 起始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date abStartTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date abEndTime;

    /** 请假原因 */
    @Excel(name = "请假原因")
    private String abCause;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Integer state;

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    /** 版本号 */
    private Integer version;

    public void setAbId(Integer abId) 
    {
        this.abId = abId;
    }

    public Integer getAbId() 
    {
        return abId;
    }
    public void setEmpId(Integer empId) 
    {
        this.empId = empId;
    }

    public Integer getEmpId() 
    {
        return empId;
    }
    public void setAbStyel(String abStyel) 
    {
        this.abStyel = abStyel;
    }

    public String getAbStyel() 
    {
        return abStyel;
    }
    public void setAbStartTime(Date abStartTime) 
    {
        this.abStartTime = abStartTime;
    }

    public Date getAbStartTime() 
    {
        return abStartTime;
    }
    public void setAbEndTime(Date abEndTime) 
    {
        this.abEndTime = abEndTime;
    }

    public Date getAbEndTime() 
    {
        return abEndTime;
    }
    public void setAbCause(String abCause) 
    {
        this.abCause = abCause;
    }

    public String getAbCause() 
    {
        return abCause;
    }
    public void setVersion(Integer version) 
    {
        this.version = version;
    }

    public Integer getVersion() 
    {
        return version;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("abId", getAbId())
            .append("empId", getEmpId())
            .append("abStyel", getAbStyel())
            .append("abStartTime", getAbStartTime())
            .append("abEndTime", getAbEndTime())
            .append("abCause", getAbCause())
            .append("state", getState())
            .append("version", getVersion())
            .toString();
    }
}
